//
//  PreparationsCollectionCell.m
//  wedding
//
//  Created by 常宽 on 15/1/17.
//  Copyright (c) 2015年 常宽. All rights reserved.
//

#import "PreparationsCollectionCell.h"
#import "PreparationsCatalogue.h"

@interface PreparationsCollectionCell ()

@end

@implementation PreparationsCollectionCell

- (instancetype)initWithFrame:(CGRect)frame
{
    if (self = [super initWithFrame:frame]) {
        self.catalogueView = [[PreparationsCatalogue alloc] init];

    }
    return self;
}

- (void)layoutSubviews
{
    [super layoutSubviews];
    _catalogueView.frame = self.contentView.frame;
    
    
}

- (void)setHighlighted:(BOOL)highlighted
{
    [super setHighlighted:highlighted];
    if (highlighted) {
        _catalogueView.alpha = .7f;
    }else {
        _catalogueView.alpha = 1.f;
    }
}

@end
